package com.java.diagnostics.visualizer.parsers;

import com.java.diagnostics.visualizer.data.SourceData;
import com.java.diagnostics.visualizer.exceptions.GCAndMemoryVisualizerException;
import com.java.diagnostics.visualizer.properties.OutputProperties;
import com.java.diagnostics.visualizer.sources.Source;

public abstract interface Parser
{
  public static final String PARSE_METHOD = "parse";
  public static final String IS_PARSEABLE_METHOD = "isParseableSource";
  
  public abstract SourceData parse(Source paramSource, OutputProperties paramOutputProperties)
    throws GCAndMemoryVisualizerException;
  
  public abstract boolean isParseableSource(Source paramSource)
    throws GCAndMemoryVisualizerException;
}


